package cn.jjxx.modules.resources.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.resources.mapper.HumanPerformanceAppraisalMapper;
import cn.jjxx.modules.resources.entity.HumanPerformanceAppraisal;
import cn.jjxx.modules.resources.service.IHumanPerformanceAppraisalService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 绩效考核信息
 * @Description: 绩效考核信息
 * @author zx
 * @date 2021-05-27 09:38:49
 * @version V1.0   
 *
 */
@Transactional
@Service("humanPerformanceAppraisalService")
public class HumanPerformanceAppraisalServiceImpl  extends CommonServiceImpl<HumanPerformanceAppraisalMapper,HumanPerformanceAppraisal> implements  IHumanPerformanceAppraisalService {

	@Override
	public boolean insertBatch(List<HumanPerformanceAppraisal> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<HumanPerformanceAppraisal> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
